﻿using System.Collections.Generic;

namespace OSMLib
{
    public static class Osm
    {
        static readonly Dictionary<int, IOsmWay> _ways = new Dictionary<int, IOsmWay>();

        static readonly List<IOsmNode> _namedNodes = new List<IOsmNode>();

        public static Dictionary<int, IOsmWay> Ways
        {
            get { return _ways; }
        }

        public static List<IOsmNode> NamedNodes
        {
            get { return _namedNodes; }
        }

        public static void Clear()
        {
            _ways.Clear();
            _namedNodes.Clear();
        }
    }
}
